package cn.iocoder.yudao.module.els.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * business 错误码枚举类
 *
 *  使用 2-001-000-000 段
 */
public interface ErrorCodeConstants {

    // ========== 编码生成器 2_002_001_001 ==========
    ErrorCode CODE_GENERATOR_NOT_EXISTS = new ErrorCode(2_002_001_001, "编码生成器不存在");

    // ========== 编码生成器明细 2_002_002_001 ==========
    ErrorCode CODE_GENERATOR_DETAIL_NOT_EXISTS = new ErrorCode(2_002_002_001, "编码生成器明细不存在");
    ErrorCode CODE_GENERATOR_TYPE_IS_EXIST = new ErrorCode(2_002_002_002, "已存在编码类型为【{}】的生成器");
    ErrorCode CODE_GENERATOR_DETAIL_PARAM_LOST = new ErrorCode(2_002_002_003, "编码生成器明细-请添加一个取值类型为【{}】的明细值");
    ErrorCode CODE_GENERATOR_DETAIL_SERIAL_OVER = new ErrorCode(2_002_002_004, "编码生成器明细-只能存在一个取值类型为【{}}】的明细值");

    // ========== 编码生成器序列 2_002_003_001 ==========
    ErrorCode CODE_GENERATOR_SERIAL_NOT_EXISTS = new ErrorCode(2_002_003_001, "编码生成器序列不存在");

}
